package com.gudaomai.wuye.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;

public abstract class BaseEntity<T extends Model> extends Model<T> {

	private static final long serialVersionUID = 1L;
	
	@TableField(exist = false)
	protected String retCode;
	
	@TableField(exist = false)
	protected String retMessage;

	public String getRetCode() {
		return retCode;
	}

	public void setRetCode(String retCode) {
		this.retCode = retCode;
	}

	public String getRetMessage() {
		return retMessage;
	}

	public void setRetMessage(String retMessage) {
		this.retMessage = retMessage;
	}
	
	public String toString() {
		return com.alibaba.fastjson.JSON.toJSONString(this);
	}

}
